package huizhi.clone;

public class test {
    public static void main(String[] args) {
        int[] arr1 = new int[]{1,2,3,4};
        Person person1 = new Person("张三",13,arr1);
        Person person2 = person1.clone();
        //浅克隆 地址也跟着复制了

        System.out.println(person1.getScore());
        System.out.println(person2.getScore());

    }

}
